package com.haiyou.dc.netty.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 发送消息参数
 */
@Data
@ApiModel(value = "搜索或者添加朋友发送消息参数")
public class SearchOrAddFriendDTO implements Serializable {

    @NotNull(message = "我的id不能为空")
    @ApiModelProperty(value = "我的id", name = "myId")
    private String myId;

    @NotNull(message = "朋友id不能为空")
    @ApiModelProperty(value = "朋友id", name = "friendId")
    private String friendId;

    @ApiModelProperty(value = "申请利用", name = "applyReason")
    private String applyReason;

    @ApiModelProperty(value = "操作类型：add=添加，search=查询", name = "actionType")
    private String actionType = "search";

}
